package hn.sigit.logic.workflow;

import hn.sigit.logic.bpm.AttachedFileData;
import hn.sigit.model.ladm.administrative.LA_AdministrativeSource;

import java.util.List;

import org.jbpm.taskmgmt.exe.TaskInstance;
import org.richfaces.event.UploadEvent;

public interface WorkflowHelper {

	List<AttachedFileData> getAttachedFiles();

	void setAttachedFiles(List<AttachedFileData> attachedFiles);

	List<LA_AdministrativeSource> getFileSources();

	String getEditMode();

	void setEditMode(String editMode);

	AttachedFileData getSelectedFile();

	void setSelectedFile(AttachedFileData selectedFile);

	boolean isAttachInfo();

	void setAttachInfo(boolean attachInfo);

	int getCurrentRow();

	void setCurrentRow(int currentRow);

	String hasAttachedFiles();

	void acceptSelectedFile();

	void deleteSelectedFile();

	void attachFileListener(UploadEvent event);

	String beginProcess();

	String startTask();

	String endTask();

	List<TaskInstance> getTaskInstanceList();

	List<TaskInstance> getPooledTaskInstanceList();

}